package io;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class FISDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("fos.dat");
        int a=fis.read();
        int b=fis.read();
        int c=fis.read();
        int d=fis.read();
        System.out.println(a+","+b);
        System.out.println(c);
        System.out.println(d);

    }
}
